Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql: fix replace acctests #27981

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

wuxu92
Copy link
Contributor

@wuxu92 wuxu92 commented Nov 12, 2024

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for PR followers and do not help prioritize for review

Description

To fix these tests:

=== CONT  TestAccPostgresqlFlexibleServer_recreateWithLowerStorageMb
    testcase.go:173: Step 4/6 error: Pre-apply plan check(s) failed:
        'azurerm_postgresql_flexible_server.test' - expected action to not be Replace, path: [[name]]
--- FAIL: TestAccPostgresqlFlexibleServer_recreateWithLowerStorageMb (401.14s)

=== CONT  TestAccPostgreSQLServer_updated
    testcase.go:173: Step 4/12 error: Pre-apply plan check(s) failed:
        'azurerm_postgresql_server.test' - expected action to not be Replace, path: [[infrastructure_encryption_enabled] [geo_redundant_backup_enabled]]
--- FAIL: TestAccPostgreSQLServer_updated (262.81s)

=== CONT  TestAccPostgreSQLServer_updateSKU
    testcase.go:173: Step 4/9 error: Pre-apply plan check(s) failed:
        'azurerm_postgresql_server.test' - expected action to not be Replace, path: [[sku_name]]
--- FAIL: TestAccPostgreSQLServer_updateSKU (321.31s)

image

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

@wuxu92 wuxu92 marked this pull request as ready for review November 12, 2024 09:05
@wuxu92 wuxu92 requested review from katbyte and a team as code owners November 12, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant